package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户与他人电子名片绑定记录对象 d_user_bcd
 * 
 * @author ruoyi
 * @date 2024-06-21
 */
public class DUserBcd extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Long userBcdId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 名片id */
    @Excel(name = "名片id")
    private Long bcId;

    /** 插入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "插入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date insDate;

    public void setUserBcdId(Long userBcdId) 
    {
        this.userBcdId = userBcdId;
    }

    public Long getUserBcdId() 
    {
        return userBcdId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setBcId(Long bcId) 
    {
        this.bcId = bcId;
    }

    public Long getBcId() 
    {
        return bcId;
    }

    public void setInsDate(Date insDate) 
    {
        this.insDate = insDate;
    }

    public Date getInsDate() 
    {
        return insDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userBcdId", getUserBcdId())
            .append("userId", getUserId())
            .append("bcId", getBcId())
            .append("insDate", getInsDate())
            .toString();
    }
}
